package cn.qf.pkg1;

// 顶级类
public class PublicClass {

    // 内部类
    protected static class ProtectedClass{

        protected void protectedMethod(){
            System.out.println("cn.qf.ProtectedClass.protectedMethod()");
        }
    }

    protected void protectedMethod(){
        System.out.println("cn.qf.pkg1.PublicClass.protectedMethod()");
    }
}


